n = int(input())
if n >= 10 and n <= 99:
    print(1)
else:
    print(0)
